<template>
	<view>
		<!-- #ifdef APP-PLUS -->
		<view class="status_bar"><view class="top_view"></view></view>
		<!-- #endif -->
		<view class="head">
			<view class="arrow">
				<image src="../../static/images/arrow_left.png" mode="" @click="goIndex"></image>
			</view>
			<view class="title">数据导出</view>
			<view class="f32" @click="godow">导出数据</view>
		</view>
		<view class="box" @click="goStatement">
			<view class="box-l">
				<view class="f32 ca">财务报表</view>
				<view class="f28" style="color: #666666;">导出客户入账报表</view>
			</view>
			<image src="../../static/images/arrow_right.png" mode=""></image>
		</view>
		<view class="box" @click="goStatementhuo">
			<view class="box-l">
				<view class="f32 ca">货品销售统计报表</view>
				<view class="f28" style="color: #666666;">导出店铺货品销售统计报表</view>
			</view>
			<image src="../../static/images/arrow_right.png" mode=""></image>
		</view>
		<view class="box" @click="goReport">
			<view class="box-l">
				<view class="f32 ca">货品销售明细报表</view>
				<view class="f28" style="color: #666666;">导出店铺下单货品详细的销售数据报表</view>
			</view>
			<image src="../../static/images/arrow_right.png" mode=""></image>
		</view>
		<view class="box" @click="goStatementlei">
			<view class="box-l">
				<view class="f32 ca">客户分类销售统计报表</view>
				<view class="f28" style="color: #666666;">导出店铺不同分类的销售数据统计报表</view>
			</view>
			<image src="../../static/images/arrow_right.png" mode=""></image>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	methods: {
		goStatement() {
			uni.navigateTo({
				url: 'statement?item=payList'
			});
		},
		goStatementhuo() {
			uni.navigateTo({
				url: 'statement?item=saleProductCount'
			});
		},
		goStatementlei() {
			uni.navigateTo({
				url: 'statement?item=1'
			});
		},
		goReport() {
			uni.navigateTo({
				url: 'report'
			});
		},
		goIndex() {
			uni.switchTab({
				url: '../shop/index'
			});
		},
		godow() {
			uni.navigateTo({
				url: 'download'
			});
		}
	}
};
</script>

<style lang="scss">
page {
	background-color: #f7f4f8;
}
.head {
	width: 100%;
	padding: 60upx 30upx 30upx;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	background-color: #249af6;
	color: #ffffff;
	font-size: 36rpx;
	font-family: PingFang SC;
	font-weight: 500;
	margin-bottom: 30rpx;

	.title{
	  
	}
	.arrow{
		float: left;
		image {
			width: 22rpx;
			height: 39rpx;
			margin-top: 25rpx;
		}
	}
}
.box {
	margin-top: 20rpx;
	height: 156rpx;
	background-color: #ffffff;
	display: flex;
	padding: 0 30rpx;
	justify-content: space-between;
	image {
		width: 19rpx;
		height: 34rpx;
		margin-top: 61rpx;
	}
	.box-l {
		.ca {
			margin-top: 38rpx;
			margin-bottom: 21rpx;
		}
	}
}
</style>
